<?php 


class db{
	const HOST ; 
	const DBNAME ; 
	const DBPWD ; 
	const DBUSER ; 
	const DBCHATSET ; 
	const DBPORT ; 
	function __construct($host , $dbname , $dbpwd , $dbuser , $dbcharset , $dbport ){
		self::HOST = $host ; 
		self::DBNAME = $dbname ; 
		self::DBPWD = $dbpwd ; 
		self::DBUSER = $dbuser ; 
		self::DBCHATSET = $dbcharset ; 
		self::DBPORT = $dbport ; 
		self::CONNECT = mysql_connect(self::HOST , self::DB );
	}
	function exist(){
		echo 1;
	}
}